package com.zking.service.impl;

import com.zking.dao.domain.Department;
import com.zking.dao.domain.Doctor;
import com.zking.dao.mapper.KeshiMapper;
import com.zking.service.KeshiService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class KeshiServiceImpl implements KeshiService {

    @Autowired
    KeshiMapper keshiMapper;

    @Override
    public List<Department> queryKeshi() {
        return keshiMapper.queryKeshi();
    }

    @Override
    public List<Doctor> queryDoctors() {
        return keshiMapper.queryDoctors();
    }

    @Override
    public List<Department> queryDepts() {
        return keshiMapper.queryDepts();
    }
}
